package com.csair.platform.cit.facade.model.a200000;

import java.io.Serializable;

import com.csair.invoice.common.base.util.StringUtil;

import io.swagger.annotations.ApiModelProperty;


/**
 * A类，申报表优惠减免数据
 * @author caoyu
 *
 */
public class CitMssrGridVo implements Serializable {

    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private Long id;

	@ApiModelProperty(value = "纳税人识别号", required = true)
	private String nsrsbh;

    @ApiModelProperty(value = "税款所属期起", required = true)
	private String skssqq;

    @ApiModelProperty(value = "税款所属期止", required = true)
	private String skssqz;

    @ApiModelProperty(value = "序号")
    private String xh;

    @ApiModelProperty(value = "二维表行关键字")
    private String ewbhgjz;

    @ApiModelProperty(value = "优惠税务事项")
    private String yhswsx;

    @ApiModelProperty(value = "税收减免性质代码")
    private String ssjmxzDm;
    
	/**
	 * 优惠减免金额
	 */
	private String yhjmje;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getNsrsbh() {
		return nsrsbh;
	}

	public void setNsrsbh(String nsrsbh) {
		this.nsrsbh = nsrsbh;
	}

	public String getSkssqq() {
		return skssqq;
	}

	public void setSkssqq(String skssqq) {
		this.skssqq = skssqq;
	}

	public String getSkssqz() {
		return skssqz;
	}

	public void setSkssqz(String skssqz) {
		this.skssqz = skssqz;
	}

	public String getYhjmje() {
		if (StringUtil.isNotEmpty(yhjmje)) {
			return yhjmje;
		}
		return "0";	
	}

	public void setYhjmje(String yhjmje) {
		this.yhjmje = yhjmje;
	}
	
	public String getXh() {
		return xh;
	}

	public void setXh(String xh) {
		this.xh = xh;
	}

	public String getEwbhgjz() {
		return ewbhgjz;
	}

	public void setEwbhgjz(String ewbhgjz) {
		this.ewbhgjz = ewbhgjz;
	}

	public String getYhswsx() {
		return yhswsx;
	}

	public void setYhswsx(String yhswsx) {
		this.yhswsx = yhswsx;
	}
	
	public String getSsjmxzDm() {
		return ssjmxzDm;
	}

	public void setSsjmxzDm(String ssjmxzDm) {
		this.ssjmxzDm = ssjmxzDm;
	}

	@Override
	public String toString() {
		return "CitMssrGridVo [id=" + id + ", nsrsbh=" + nsrsbh + ", skssqq=" + skssqq + ", skssqz=" + skssqz + ", xh="
				+ xh + ", ewbhgjz=" + ewbhgjz + ", yhswsx=" + yhswsx + ", ssjmxzDm=" + ssjmxzDm + ", yhjmje=" + yhjmje
				+ "]";
	}
}